package com.landiao.common.weixin.bean;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.JSON;

/**
 * 关注者列表
 *
 */
public class WxMpUserList {

	protected int total = -1;
	protected int count = -1;
	protected OpenIdData data;
	protected String next_openid;
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	
	public OpenIdData getData() {
		return data;
	}
	public void setData(OpenIdData data) {
		this.data = data;
	}
	public String getNext_openid() {
		return next_openid;
	}
	public void setNext_openid(String next_openid) {
		this.next_openid = next_openid;
	}
	public static WxMpUserList fromJson(String json) {
		return JSON.parseObject(json, WxMpUserList.class);
	}
	
	public static class OpenIdData{
		protected List<String> openIds = new ArrayList<String>();

		public List<String> getOpenIds() {
			return openIds;
		}

		public void setOpenIds(List<String> openIds) {
			this.openIds = openIds;
		}
	}
}
